
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean" %>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic" %>
<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html" %>
<%@ page import="javax.sql.*"%>

<%@ page isELIgnored ="false" %> 

<html:html>

<font size="6">Specialization Analytics</font>
<p>
<a href="/CSE135_Project_struts/login/admins/invalidate.jsp">Log out.</a>
<p>

<body>

	            <%
            RowSet crsSpecAnal = (RowSet) request.getAttribute("crsSpecAnal");
            
                // Iterate over the ResultSet
                while (crsSpecAnal.next()) {
            %>

            <tr>
                <%-- Get the id --%>
                <td>
                    <%=crsSpecAnal.getString("specialization_name")%>
                </td>
                <td>
                </td>
                
                <td>
                	 <a href="/CSE135_Project_struts/showApplicationsPage.do?specialization=<%=crsSpecAnal.getString("specialization_name")%>" style="text-decoration:none"> <%=crsSpecAnal.getInt("spec_count")%></a>
                </td>
            </tr>
            <br>
            <%
                }
            %>

	

	

</body>
</html:html>
